POV-Ray : Newsgroups : povray.binaries.images : A sphere (or two) and a checkered floor : A sphere (or two) and a checkered floor Server Time
9 Aug 2024 01:20:04 EDT (-0400)
  A sphere (or two) and a checkered floor  
From: PM 2Ring
Date: 7 Apr 2005 10:25:01
Message: <web.42554083397409333d6ca37a0@news.povray.org>
Greetings, Raytracers!

I've been lurking around here for a few months & have decided it's about
time
I joined in the fun. :) I've been programming (as an amateur) since the
early
70s and started raytracing with DKBTrace 2.12 on the Amiga, and only
migrated to the PC in the last 2 years.

I'm more of a programmer & mathematician than an artist, but I love the kind
of things raytracing lets me do, even if I'm not in the same league as the
real artists. Still, I think my abilities as an artist (and sensibilities)
have improved through raytracing.

Anyway, I understand that it's customary to make one's initial post a
variation on the theme mentioned in the subject. Ok, here goes!

//POV-Ray 3.1+ Scene File. Classic Pickover shell.
global_settings{max_trace_level 256 assumed_gamma 1}
#macro Shell(N,A,B,C,K)#local D=(11/3-A)/N;union{#local I=1;
#while(I<N)#local T=I/N;#local R=B*exp(A*K);sphere{R*<1,0,C/B>
R rotate z*A*360 pigment{rgb<T,.6,1-T*T>}finish{reflection{0,1}
phong .7}}#local I=I+1;#local A=A+D;#end rotate x*9 translate
<0,3,9>}#end Shell(99,-2,.15,.35,.75)plane{y,-9 pigment{checker
rgb 0 rgb 1 scale 5 rotate 45*y}finish{reflection 1 ambient 0}
rotate -x*35}light_source{<2,4,-8>rgb 1.3}


Post a reply to this message


Attachments:
Download 'shellquickera1.png' (270 KB)

Preview of image 'shellquickera1.png'
shellquickera1.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.